PhpOffice\PhpSpreadsheet\Calculation\Calculation D

Total Complexity 629
Dependencies 15
Dependents 37
Total lines 5,384
Lines of code 1,838
Logical lines of code 1,258
Comment lines 724
Methods 63
Properties 34

Methods 63

Method Rating Maintainability Complexity Lines of code
internalParseFormula()
D
0
157 402
processTokenStack()
D
0
139 435
executeBinaryComparisonOperation()
D
36 34 73
setLocale()
B
38 19 65
executeNumericBinaryOperation()
B
40 19 55
_calculateFormulaValue()
B
42 18 49
calculateCellValue()
B
41 16 55
resizeMatricesExtend()
A
49 15 34
resizeMatricesShrink()
A
50 15 30
extractNamedRange()
A
45 10 41
validateBinaryOperand()
A
50 11 26
showTypeDetails()
A
50 10 28
showValue()
A
50 10 26
convertMatrixReferences()
A
47 9 36
evaluateDefinedName()
A
46 8 35
extractCellRange()
A
48 7 34
executeArrayComparison()
A
49 7 31
checkMatrixOperands()
S
53 7 22
_translateFormulaToLocale()
S
53 7 21
_translateFormulaToEnglish()
S
53 7 21
unwrapResult()
S
62 8 10
calculateFormula()
S
54 6 21
translateSeparator()
S
55 6 19
wrapResult()
S
61 6 11
translateFormula()
S
54 5 21
getInstance()
S
62 5 12
addCellReference()
S
58 4 15
localeFunc()
S
60 4 13
dataTestReference()
S
60 4 13
setArrayReturnType()
S
63 4 11
parseFormula()
S
62 4 11
getMatrixDimensions()
S
58 3 15
getValueFromCache()
S
64 3 9
getImplementedFunctionNames()
S
65 3 9
isImplemented()
S
70 3 5
loadLocales()
S
64 3 9
raiseFormulaError()
S
65 2 9
renameCalculationCacheForWorksheet()
S
70 2 6
clearCalculationCacheForWorksheet()
S
73 2 5
saveValueToCache()
S
74 2 5
calculate()
S
69 2 7
getTokensAsString()
S
63 2 10
getFunctions()
S
81 1 3
flushInstance()
S
78 1 4
getUnusedBranchStoreKey()
S
74 1 5
strcmpAllowNull()
S
78 1 3
strcmpLowercaseFirst()
S
71 1 5
getDebugLog()
S
82 1 3
enableCalculationCache()
S
81 1 3
__clone()
S
80 1 3
getTRUE()
S
79 1 3
getFALSE()
S
79 1 3
getArrayReturnType()
S
80 1 3
getCalculationCacheEnabled()
S
82 1 3
setCalculationCacheEnabled()
S
77 1 4
disableCalculationCache()
S
81 1 3
clearCalculationCache()
S
81 1 3
getLocale()
S
81 1 3
clearBranchStore()
S
81 1 3
disableBranchPruning()
S
81 1 3
enableBranchPruning()
S
81 1 3
setBranchPruningEnabled()
S
81 1 3
__construct()
S
67 1 7